using GameFramework.Procedure;
using UnityGameFramework.Runtime;
using ProcedureOwner = GameFramework.Fsm.IFsm<GameFramework.Procedure.IProcedureManager>;

public class Demo2_ProcedureLaunch : ProcedureBase
{
    protected override void OnEnter(ProcedureOwner procedureOwner)
    {
        base.OnEnter(procedureOwner);

        Log.Debug("初始");
        //string can encapsulation

        // "Assets/Scenes/Demo2_Menu"+".unity"
        GameEntry.Scene.LoadScene(AssetUtility.GetSceneAsset("Demo2_Menu"), this);
        //切换流程
        ChangeState<Demo2_ProcedureMenu>(procedureOwner);
    }
}
